package com.example.order;

import com.example.address_api.AddressClient;
import com.example.admin_api.EmployeeClient;
import com.example.dish_api.DishClient;
import com.example.shopping_cart_api.ShoppingCartClient;
import com.example.user_api.UserClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableFeignClients(clients = {EmployeeClient.class,DishClient.class,ShoppingCartClient.class, UserClient.class, AddressClient.class})
@ComponentScan(basePackages = {"com.example", "com.example.order"})
public class TakeOutOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(TakeOutOrderApplication.class, args);
    }

}
